<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <link href="logo.png" rel="shortcut icon">
  <title>康小庄的博客</title>
  <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
  <meta name="description" content="Description">
  <meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0">
  <link rel="stylesheet" href="./plugin/css/custom.css">
  <link rel="stylesheet" href="//cdn.jsdelivr.net/npm/docsify@4/lib/themes/vue.css">
  <!-- 目录跳转 -->
  <!-- <link rel="stylesheet" href="https://unpkg.com/docsify-toc@1.0.0/dist/toc.css"> -->
  <!-- <link rel="stylesheet" href="//cdn.jsdelivr.net/npm/docsify@4/lib/themes/vue.css"> -->
  <!-- <link rel="stylesheet" href="http://at.alicdn.com/t/font_2539632_aamga9lntnf.css"> -->
  <!-- <link rel="stylesheet" href="//cdn.jsdelivr.net/npm/docsify/themes/buble.css">

  <link rel="stylesheet" href="//cdn.jsdelivr.net/npm/docsify/themes/dark.css">
  <link rel="stylesheet" href="//cdn.jsdelivr.net/npm/docsify/themes/pure.css">
  <link rel="stylesheet" href="//cdn.jsdelivr.net/npm/docsify/themes/dolphin.css"> -->
  <!-- 自定义特色样式：by myself -->
  <!-- <link rel="stylesheet" href="./plugin/css/me.css"> -->
  <link rel="stylesheet" href="//cdn.jsdelivr.net/npm/docsify/themes/pure.css">
  <!-- alert -->
  <link rel="stylesheet" href="./plugin/sweetalert.min.css" type='text/css' media='all' />
</head>

<body>
  <div id="app">加载康小庄的博客中...</div>
</body>
<script>
  window.$docsify = {
    name: '康小庄的博客',
    repo: 'https://github.com/Kang-xiao-zhuang',
    loadSidebar: true,
    subMaxLevel: 2,
    loadNavbar: true,
    coverpage: true,
    onlyCover: false,
    mergeNavbar: true,
    notFoundPage: true,
    themeColor: '#007be8', // 主题颜色
    //auto2top: true,  //当路线改变时,滚动到屏幕的顶部
    'flexible-alerts': {
      style: 'flat'
    },
    // 字数统计
    count: {
      countable: true,
      position: 'top',
      margin: '10px',
      float: 'right',
      fontsize: '0.9em',
      color: 'rgb(90,90,90)',
      language: 'chinese',
      localization: {
        words: "",
        minute: ""
      },
      isExpected: true
    },
    // 目录跳转
    toc: {
      scope: '.markdown-section',
      headings: 'h1, h2, h3, h4, h5, h6',
      title: '目录',
    },
    // search: {
    //   paths: 'auto',
    //   placeholder: '🔍 搜索',
    //   noData: '😒 找不到结果',
    //   // Headline depth, 1 - 6
    //   depth: 6,
    //   maxAge: 86400000, // 过期时间，单位毫秒，默认一天
    // },//添加搜索框
    /*
    search: "auto", // default
    
    search: [
      "/", // => /README.md
      "/guide", // => /guide.md
      "/get-started", // => /get-started.md
      "/zh-cn/", // => /zh-cn/README.md
    ],

    // complete configuration parameters
    search: {
      maxAge: 86400000, // Expiration time, the default one day
      paths: [], // or 'auto'
      placeholder: "Type to search",

      // Localization
      placeholder: {
        "/zh-cn/": "搜索",
        "/": "Type to search",
      },

      noData: "No Results!",

      // Localization
      noData: {
        "/zh-cn/": "找不到结果",
        "/": "No Results",
      },

      // Headline depth, 1 - 6
      depth: 3,

      hideOtherSidebarContent: false, // whether or not to hide other sidebar content

      // To avoid search index collision
      // between multiple websites under the same domain
      namespace: "website-1",
    },
    */
    footer: {
      copy: '<div class = "over" >完结</div><br/><span>代码不停，思考不止~😆😏❤️</span><br/><span id="sitetime"></span></br><span>Copyright &copy; 2021 - 至今</span>',
      auth: ' <a href="https://itkxz.cn/" target="_blank">🏷️ EnjoyToShare </a> <span> 一个人可以走的很快，但一群人才能走的更远！</span>',
      pre: '<hr/>',
      style: 'text-align: left;',
    },//添加页脚
    markdown: {
      renderer: {
        code: function (code, lang, base = null) {

          if (lang === "dot") {
            return (
              '<div class="viz">' + Viz(code, "SVG") + '</div>'
            );
          }

          var pdf_renderer = function (code, lang, verify) {
            function unique_id_generator() {
              function rand_gen() {
                return Math.floor((Math.random() + 1) * 65536).toString(16).substring(1);
              }
              return rand_gen() + rand_gen() + '-' + rand_gen() + '-' + rand_gen() + '-' + rand_gen() + '-' + rand_gen() + rand_gen() + rand_gen();
            }
            if (lang && !lang.localeCompare('pdf', 'en', { sensitivity: 'base' })) {
              if (verify) {
                return true;
              } else {
                var divId = "markdown_code_pdf_container_" + unique_id_generator().toString();
                var container_list = new Array();
                if (localStorage.getItem('pdf_container_list')) {
                  container_list = JSON.parse(localStorage.getItem('pdf_container_list'));
                }
                container_list.push({ "pdf_location": code, "div_id": divId });
                localStorage.setItem('pdf_container_list', JSON.stringify(container_list));
                return (
                  '<div style="margin-top:' + PDF_MARGIN_TOP + '; margin-bottom:' + PDF_MARGIN_BOTTOM + ';" id="' + divId + '">'
                  + '<a href="' + code + '"> Link </a> to ' + code +
                  '</div>'
                );
              }
            }
            return false;
          }
          if (pdf_renderer(code, lang, true)) {
            return pdf_renderer(code, lang, false);
          }
          //return this.origin.code.apply(this, arguments);
          return (base ? base : this.origin.code.apply(this, arguments));
        }
      }
    },
  }
</script>
<!-- Docsify v4 -->
<script src="//cdn.jsdelivr.net/npm/docsify@4"></script>
<script src="//cdn.jsdelivr.net/npm/docsify/lib/plugins/emoji.min.js"></script>
<script src="//cdn.jsdelivr.net/npm/prismjs@1/components/prism-bash.min.js"></script>
<!-- 自定义文本高亮 -->
<script src="https://unpkg.com/docsify-plugin-flexible-alerts"></script>
<!-- 字数统计 -->
<script src="//unpkg.com/docsify-count/dist/countable.min.js"></script>
<!-- 目录跳转 -->
<!-- <script src="https://unpkg.com/docsify-toc@1.0.0/dist/toc.js"></script> -->
<!-- 全文查找 -->
<!-- <script src="//cdn.jsdelivr.net/npm/docsify/lib/docsify.min.js"></script>
<script src="//cdn.jsdelivr.net/npm/docsify/lib/plugins/search.min.js"></script> -->
<!-- emoij支持 -->
<script src="//cdn.jsdelivr.net/npm/docsify/lib/plugins/emoji.min.js"></script>
<!-- 支持 LaTex 语言 -->
<script src="./plugin/js/docsify-katex.js"></script>
<!-- 复制代码-->
<script src="./plugin/docsify-copy-code.min.js"></script>
<!-- mouse click -->
<script src="./plugin/click_heart.js"></script>
<!-- 回到顶部功能 -->
<script src="./plugin/jquery.js"></script>
<script src="./plugin/jquery.goup.js"></script>
<script type="text/javascript">
  $(document).ready(function () {
    $.goup({
      trigger: 100,
      bottomOffset: 52,
      locationOffset: 25,
      //title: 'TOP',
      titleAsText: true
    });
  });
</script>
<!-- 代码块样式优化-->
<script src="./plugin/prism-c.js"></script>
<script src="//unpkg.com/prismjs/components/prism-cpp.js"></script>
<script src="./plugin/prism-cpp.js"></script>`
<script src="./plugin/prism-css.js"></script>
<script src="./plugin/prism-docker.js"></script>
<script src="./plugin/prism-java.js"></script>
<script src="./plugin/prism-javascript.js"></script>
<script src="./plugin/prism-json.js"></script>
<script src="./plugin/prism-latex.js"></script>
<script src="./plugin/prism-sql.js"></script>
<script src="./plugin/prism-markdown.js"></script>
<script src="./plugin/prism-bash.min.js"></script>
<script src="./plugin/prism-php.min.js"></script>
<script src="./plugin/prism-scala.min.js"></script>
<script src="./plugin/prism-nginx.min.js"></script>
<script src="./plugin/prism-json.min.js"></script>
<script src="./plugin/prism-markdown.min.js"></script>
<script src="./plugin/prism-python.js"></script>
<script src="./plugin/js/prism-yaml.js"></script>
<script src="./plugin/js/prism-go.js"></script>
<script src="./plugin/js/prism-matlab.js"></script>

<!-- 复制提醒 -->
<script src="./plugin/sweetalert.min.js"></script>
<script>
  document.body.oncopy = function () {
    swal("复制成功 🎉",
      "若要转载或引用请务必保留原文链接，并申明来源。如果你觉得本仓库不错，那就来 GitHub 给个 Star 吧 😊   - by 康小庄",
      "success");
  };
</script>

<!-- 添加页脚 -->
<script src="./plugin/docsify-footer-enh.min.js"></script>

<!-- 添加网站运行时间统计 -->
<script language=javascript>
  window.onload = function siteTime() {
    window.setTimeout("siteTime()", 1000);
    var seconds = 1000;
    var minutes = seconds * 60;
    var hours = minutes * 60;
    var days = hours * 24;
    var years = days * 365;
    var today = new Date();
    var todayYear = today.getFullYear();
    var todayMonth = today.getMonth() + 1;
    var todayDate = today.getDate();
    var todayHour = today.getHours();
    var todayMinute = today.getMinutes();
    var todaySecond = today.getSeconds();
    /* Date.UTC() -- 返回date对象距世界标准时间(UTC)1970年1月1日午夜之间的毫秒数(时间戳)
    year - 作为date对象的年份，为4位年份值
    month - 0-11之间的整数，做为date对象的月份
    day - 1-31之间的整数，做为date对象的天数
    hours - 0(午夜24点)-23之间的整数，做为date对象的小时数
    minutes - 0-59之间的整数，做为date对象的分钟数
    seconds - 0-59之间的整数，做为date对象的秒数
    microseconds - 0-999之间的整数，做为date对象的毫秒数 */
    var t1 = Date.UTC(2021, 07, 05, 22, 22, 22); //北京时间2019-06-21 22:22:22 //计划考研的日子，6月20日毕业典礼结束后，人生需要继续努力，加油，看到这句话的朋友们！
    var t2 = Date.UTC(todayYear, todayMonth, todayDate, todayHour, todayMinute, todaySecond);
    var diff = t2 - t1;
    var diffYears = Math.floor(diff / years);
    var diffDays = Math.floor((diff / days) - diffYears * 365);
    var diffHours = Math.floor((diff - (diffYears * 365 + diffDays) * days) / hours);
    var diffMinutes = Math.floor((diff - (diffYears * 365 + diffDays) * days - diffHours * hours) / minutes);
    var diffSeconds = Math.floor((diff - (diffYears * 365 + diffDays) * days - diffHours * hours - diffMinutes * minutes) / seconds);
    document.getElementById("sitetime").innerHTML = " 本站已安全运行 " + diffYears + " 年 " + diffDays + " 天 " + diffHours + " 小时 " + diffMinutes + " 分 " + diffSeconds + " 秒 ";
  }
  siteTime();
</script>

<script type="text/javascript" charset="utf-8"
  src="https://files.cnblogs.com/files/liuzhou1/L2Dwidget.0.min.js"></script>
<script type="text/javascript" charset="utf-8"
  src="https://files.cnblogs.com/files/liuzhou1/L2Dwidget.min.js"></script>
<script src="https://eqcn.ajz.miesnfu.com/wp-content/plugins/wp-3d-pony/live2dw/lib/L2Dwidget.min.js"></script>
<script>
  L2Dwidget.init({
    "model": {
      //jsonpath控制显示那个小萝莉模型，
      //(切换模型需要改动)
      jsonPath: " https://unpkg.com/live2d-widget-model-haruto@1.0.5/assets/haruto.model.json",
      "scale": 1
    },
    "dialog": {
      enable: true,
      script: {
        'tap body': '哎呀！别碰我！',
        'tap face': '欢迎来打扰我的主人--',
      }
    },
    "display": {
      "position": "right", //看板娘的表现位置
      "width": 70,  //小萝莉的宽度
      "height": 140, //小萝莉的高度
      "hOffset": 40,
      "vOffset": -20
    },
    "mobile": {
      "show": true,
      "scale": 0.5
    },
    "react": {
      "opacityDefault": 0.7,
      "opacityOnHover": 0.2
    }
  });
</script>

<!-- 访问量统计 -->
<script async src="./plugin/js/busuanzi.pure.mini.js"></script>
<!-- 图片缩放插件 -->
<script src="//cdn.jsdelivr.net/npm/docsify/lib/plugins/zoom-image.min.js"></script>
<style>
  /* 加重描述 strong*/
   .markdown-section strong {
    color: rgb(239, 112, 96);
  } 

  .markdown-section code {
    border-radius: 2px;
    font-family: "Helvetica Neue", Helvetica, "Hiragino Sans GB", "Microsoft YaHei", Arial, sans-serif;
    font-size: 16px !important;
    margin: 0 2px;
    padding: 3px 5px;
    white-space: nowrap;
    border: 1px solid #282c34;
    color: rgb(184, 101, 208);
  }

  .markdown-section>div>img,
  .markdown-section pre {
    box-shadow: 2px 2px 20px 6px rgb(255, 255, 255) !important;
  }

  .markdown-section a:not(:hover) {
    text-decoration: none;
  }

  /*代码块背景*/
  p code {
    background-color: rgb(255, 255, 255) !important;
  }

  .markdown-section p.tip,
  .markdown-section tr:nth-child(1n) {
    font-size: 16px !important;
  }

  .markdown-section h1 {
    margin: 3rem 0 2rem 0;
  }

  .markdown-section h2 {
    margin: 2rem 0 1rem;
  }

  img,
  pre {
    border-radius: 5px;
  }

  /*添加代码块复制按钮样式*/
  .docsify-copy-code-button {
    background: #42b983 !important;
    color: #FFFFFF !important;
    font-size: 16px !important;
  }

  ::after {
    color: #9da2fd !important;
    font-size: 13px !important;
  }

  .markdown-section>p {
    font-size: 16px !important;
  }


  /* 代码块头部图标 start */
  .markdown-section pre:before {
    content: '';
    display: block;
    background: url(https://notebook.js.org/images/20220519-02-myinfo.png);
    height: 30px;
    background-size: 40px;
    background-repeat: no-repeat;
    background-color: #303845;
    background-position: 10px 10px;
  }

  /*代码块头部图标 end*/

  .markdown-section pre>code {
    color: #c0c3c1 !important;
    font-family: 'Inconsolata', consolas, "PingFang SC", "Microsoft YaHei", monospace !important;
    background-color: #303845 !important;
    font-size: 15px !important;
    white-space: pre !important;
    line-height: 1.5 !important;
    -moz-tab-size: 4 !important;
    -o-tab-size: 4 !important;
    tab-size: 4 !important;
    /*border-radius: .3em;*/
  }

  ol,
  ul,
  li {
    line-height: 27px !important;
    font-size: 16px !important;
  }

  @media (min-width:600px) {
    .markdown-section pre>code {
      font-size: 15px !important;
      letter-spacing: 1.1px !important;
    }

  }

  @media (max-width:600px) {
    .markdown-section pre>code {
      padding-top: 5px;
      padding-bottom: 5px;
      padding-left: 16px !important;
    }

    pre:after {
      content: "" !important;
    }
  }

  section.cover h1 {
    margin: 0;
  }

  pre {
    background-color: #303845 !important;
  }

  @media (min-width:600px) {
    pre code {
      /*box-shadow: 2px 1px 20px 2px #aaa;*/
      /*border-radius: 10px !important;*/
      padding-left: 20px !important;
    }

  }

  @media (max-width:600px) {
    pre {
      padding-left: 3px !important;
      padding-right: 3px !important;
      margin-left: -20px !important;
      margin-right: -20px !important;
      box-shadow: 0px 0px 20px 0px #f7f7f7 !important;
    }

    .markdown-section pre {
      padding-left: 0 !important;
      padding-right: 0px !important;
    }

    .markdown-section {
      margin: 0 3.2% !important;
    }


    /*修改代码块代码颜色显示*/
    .token.directive.keyword {
      color: #4faee2 !important;
    }

    .token.keyword {
      color: #c18ce0 !important;
    }

    .token.comment {
      color: #e26a74 !important;
    }

    .token.tag {
      color: #a589ad !important;
    }

    .token.attr-name {
      color: #de916c !important;
    }

    .token.attr-value {
      color: #4faee2 !important;
    }

    .token.macro.property {
      color: #4faee2 !important;
    }

    .token.function {
      color: #e6b456 !important;
    }

    .token.string {
      color: #98b755 !important;
    }

    .token.punctuation {
      color: #c0c3c1 !important;
    }

    .token.number {
      color: #c3c0c0 !important;
    }

    /*滚动条样式 start*/
    /* 滚动条宽度 */
    ::-webkit-scrollbar {
      width: 5px;
    }

    /* 滚动条颜色 */
    ::-webkit-scrollbar-thumb {
      background: #33a9dc;
      background-image: linear-gradient(#6ecd56, #33a9dc, #cb6196, #c16290);
      border-radius: 2em;
    }
</style>

</html>